package com.ruoyi.zsyh.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.zsyh.domain.ZsyhServiceSettle;
import org.apache.ibatis.annotations.Param;

/**
 * 抽成结算Mapper接口
 * 
 * @author yuexl
 * @date 2022-03-18
 */
public interface ZsyhServiceSettleMapper 
{
    /**
     * 查询抽成结算
     * 
     * @param id 抽成结算ID
     * @return 抽成结算
     */
    public ZsyhServiceSettle selectZsyhServiceSettleById(String id);

    /**
     * 查询抽成结算列表
     * 
     * @param zsyhServiceSettle 抽成结算
     * @return 抽成结算集合
     */
    public List<ZsyhServiceSettle> selectZsyhServiceSettleList(ZsyhServiceSettle zsyhServiceSettle);

    /**
     * 新增抽成结算
     * 
     * @param zsyhServiceSettle 抽成结算
     * @return 结果
     */
    public int insertZsyhServiceSettle(ZsyhServiceSettle zsyhServiceSettle);

    /**
     * 修改抽成结算
     * 
     * @param zsyhServiceSettle 抽成结算
     * @return 结果
     */
    public int updateZsyhServiceSettle(ZsyhServiceSettle zsyhServiceSettle);

    /**
     * 删除抽成结算
     * 
     * @param id 抽成结算ID
     * @return 结果
     */
    public int deleteZsyhServiceSettleById(String id);

    /**
     * 批量删除抽成结算
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteZsyhServiceSettleByIds(String[] ids);

    public Map getMoneyAll(@Param("agentId") String agentId, @Param("rakerId") String rakerId, @Param("settleStatue") String settleStatue);
}
